package player;

public class Player {
    private int id;
    private  String name;
    private  String nickName;
    private  int score;

    public Player() {
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getNickName() {
        return nickName;
    }

    public int getScore() {
        return score;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public Player( String name, String nickName, int score) {
        this.name = name;
        this.nickName = nickName;
        this.score = score;
    }

    @Override
    public String toString(){
        return ("--------------\n")+getId()+("\n")+getName()+("\n")+getNickName()+("\n")+getScore()+("\n--------------\n");
    }
}
